package com.love.netty.core.packet;

import lombok.Data;

/**
 * @ClassName: Packet
 * @Description:
 * @Author: wuj
 * @Date: 2021-06-23 11:36
 **/
@Data
public abstract class Packet {

    /**
     * 协议版本
     */
    private Byte version = 1;

    /**
     * 指令
     */
    public abstract Byte getCommand();
}
